/*AyflEomXWyqCHfdTxzWda1e2+xM16UdiCeHmo0c2GDI=*/

import React, { Component } from 'react';
import hotkeys from './hotkeys';
import OriginTree from './tree';
require('./tree/Tree.css');
require('./index.less');

const TreeNode = OriginTree.TreeNode;

console.log('originTree', OriginTree)
@hotkeys(true)
class Tree extends Component {
	render() {
        let { openIcon, closeIcon, className, ...others} = this.props;
		return <OriginTree
		openIcon={
		typeof openIcon === "function" ? (
			openIcon()
		) : (
			<i
				className="icon iconfont icon-shu_zk tree-swich"
			/>
			)
		}
		closeIcon={
		typeof closeIcon === "function" ? (
			closeIcon()
		) : (
			<i
				className="icon iconfont icon-shushouqi tree-swich"
			/>
			)
		}
		{...others}
		className={'nc-tree ' + className}
		/>;
	}
}
Tree.TreeNode = TreeNode;
export default Tree;

/*AyflEomXWyqCHfdTxzWda1e2+xM16UdiCeHmo0c2GDI=*/
